package com.twentyfour.service;

import com.twentyfour.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminService {
    List<Admin> queryAllAdmin();
    int addTeam(Team team);
    int deleteTeam(@Param("account") Integer account);
    int updateTeam(Team team);
    List<Team> queryAllTeam();
    List<Referee> queryAllReferee();
    List<Item> queryAllItems();

    List<GameInformation> queryAllGameInformation();

    int updateGameInformation(GameInformation gameInformation);

    List<Referee_Item> queryAllRefereeByItemId(Integer itemId);

    List<GameInformation> queryAllGameInformationByItemId(Integer itemId);

    int addRefereeItem(Referee_Item referee_item);
    int deleteRefereeItem(Referee_Item referee_item);

    int addRefereeScore(RefereeScore refereeScore);
    int deleteRefereeScore(@Param("refereeId") Integer refereeId);

    List<RefereeScore> queryAllRefereeScore();

    int addPersonalItemFinalScore(PersonalItemFinalScore personalItemFinalScore);

    List<PersonalItemFinalScore> queryAllPersonalItemScore();

    List<TeamScore> queryAllTeamScore();
    /*List<GameInfo> queryAllGames();
    List<GameInformation> queryAllGameInfo();
    int updateGameInfo(GameInformation gameInformation);
    int deleteGame(int id);
    int addGame(GameInfo gameInfo);

    List<GameInformation> queryGameListByItemId(Integer ItemId);
    List<Athlete> queryAllAthleteByItemId(Integer itemId);


    int addReferee(Referee_Item referee_item);
    int deleteReferee(Integer refereeId);

    int updateReferee(Referee referee);

    List<RefereeScore> queryRefereeScoreByRefereeId(@Param("refereeId") Integer refereeId);*/
}
